package cn.ljy.quicksnip.web.controller.backstage.qs;



import cn.ljy.authority.web.controller.backstage.BaseBackstageController;
import cn.ljy.quicksnip.model.QsShopDefaultSchedule;
import cn.ljy.quicksnip.model.QsShopSchedule;
import cn.ljy.quicksnip.model.query.QsShopDefaultScheduleQuery;
import cn.ljy.quicksnip.model.query.QsShopScheduleQuery;
import cn.ljy.quicksnip.service.QsShopDefaultScheduleService;
import cn.ljy.quicksnip.service.QsShopScheduleService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "店家排班管理")
@RestController
@RequestMapping(value = "/backstage/qs/schedule")
public class QsShopScheduleController extends BaseBackstageController<QsShopSchedule, QsShopScheduleQuery, Long> {

    @Autowired
    private QsShopScheduleService baseService;

    @Override
    protected String getAuthorityPrefix() {
        return "qs:schedule"; // 定义模块权限前缀
    }
}